package bb.lanxing.devices.sync;

import gov.nist.core.Separators;
import bb.lanxing.devices.utils.XZDeviceHelper;
import bb.lanxing.lib.devices.base.DeviceContext;
import bb.lanxing.util.AppFileUtils;

public class GenericDeviceSyncManager extends AbstractGenericDeviceSyncManager {
    public GenericDeviceSyncManager(String str) {
        String rootDir = DeviceContext.getRootDir(14);
        if (rootDir == null) {
            rootDir = AppFileUtils.buildExternalDirectoryPath("." + str.replaceAll(Separators.COLON, ""));
        }
        setSprintController(XZDeviceHelper.getSprintController(str));
        init(new DefaultFitProcessor(0), rootDir);
    }
}
